Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rsx: Surface cache fixups (part 1) #6261

Merged
merged 1 commit into from Jul 27, 2019
Merged

rsx: Surface cache fixups (part 1) #6261

merged 1 commit into from Jul 27, 2019

Conversation

kd-11
Copy link
Contributor

@kd-11 kd-11 commented Jul 25, 2019

  • Fixes aliased memory surface loss when doing intersection tests. When doing memory inheritance across the DEPTH<->COLOR barrier, it was possible for data to be lost due to incomplete succession.

This was intended to be part of a larger changeset but some other investigations are holding things back a bit so I decided to go ahead and submit this as a astandalone. Continuation of work on #5983

- Carve out inherited region if any
- Perform pitch compatibility test before assigning old_surface
@kd-11
Copy link
Contributor Author

kd-11 commented Jul 25, 2019

Screenshot from 2019-07-25 13-13-12
On linux with SPU interpreter the strange glitches in TLOU are fixed. Why this is not the case on windows is still being investigated.

@Xcedf
Copy link

Xcedf commented Jul 25, 2019

Here's the difference
Before
34
After
33

@kd-11
Copy link
Contributor Author

kd-11 commented Jul 26, 2019

Some more investigation revealed the probable cause of the excessive lightshafts to be a bit more complicated (they were missing before which is worse). If I confirm my findings then we can move forward and merge this first before the rest of the patches can be submitted.

@kd-11
Copy link
Contributor Author

kd-11 commented Jul 27, 2019

Confirmed race conditions between Cell rendering and RSX rendering; will submit followup synchronization patches later.

@kd-11 kd-11 merged commit 1de90bd into RPCS3:master Jul 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants